package com.yunyao.common.dto.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author chenyejian
 * @date 2024-10-09
 */
@Data
public class ContractMaterialExcelDto implements Serializable {
    private static final long serialVersionUID = -6850642413340621943L;
    /**
     * 材料主键
     */
    @Excel(name = "材料主键(*不要改)",orderNum = "13")
    private String id;

    /**
     * 合同ID
     */
    @ExcelIgnore
    private String contractId;

    /**
     * 材料ID
     */
    @ExcelIgnore
    private String materialId;

    /**
     * 材料编码
     */
    @Excel(name = "材料编码",orderNum = "14")
    private String materialCode;

    /**
     * 材料名称
     */
    @Excel(name = "材料名称",orderNum = "1")
    private String materialName;

    /**
     * 材料规格
     */
    @Excel(name = "材料规格",orderNum = "2")
    private String materialSpecs;

    /**
     * 材料型号
     */
    @Excel(name = "材料型号",orderNum = "3")
    private String materialModel;

    /**
     * 材料单位
     */
    @Excel(name = "材料单位",orderNum = "4")
    private String materialUnit;
    /**
     * 税类编码
     */
    @Excel(name = "税收分类编码",orderNum = "5")
    private String materialTaxCode;

    /**
     * 税类简称
     */
    @Excel(name = "税收编码简称",orderNum = "6")
    private String materialTaxShortName;
    /**
     * 材料品牌
     */
    @Excel(name = "材料品牌",orderNum = "7")
    private String materialBrand;

    /**
     * 数量
     */
    @Excel(name = "材料数量",orderNum = "8")
    private BigDecimal materialNum;

    /**
     * 含税单价（元）
     */
    @Excel(name = "含税单价",orderNum = "9")
    private BigDecimal includingTaxUnitPrice;

    /**
     * 不含税单价（元）
     */
    @ExcelIgnore
    private BigDecimal excludingTaxUnitPrice;
    /**
     * 税率（%）
     */
    @Excel(name = "税率",orderNum = "10")
    private BigDecimal tax;

    /**
     * 含税总价（元）
     */
    @Excel(name = "含税总价(元)(*可编辑）",orderNum = "11")
    private BigDecimal includingTaxTotalPrice;

    /**
     * 材料备注
     */
    @Excel(name = "材料备注",orderNum = "12")
    private String materialMark;

    /**
     * 材料排序
     */
    @ExcelIgnore
    private Integer materialSortNum;
}
